package com.hl.card.common.persistence.dao;

import java.util.List;
import java.util.Map;
import com.hl.card.common.persistence.model.CreditCard;


public interface CreditCardMapper {
	  public List<CreditCard>  searchCardByNoRegexp(Map<String,Object> param);
	  public List<CreditCard>  searchCardByNo(String phone);
	  public int add(CreditCard card);
	  public List<CreditCard>  list(Map<String,Object> param);
	  public int listCount(Map<String,Object> map);
	  public List<CreditCard>  searchCardByNoAndNameRegexp(Map<String,Object> param);
	  public List<CreditCard>  searchCardByNoAndName(String phone);
	  public int update(CreditCard card);
	  public int updateRewardInfo(Map<String,Object> map);
	  public int getTotalCount(Map<String,Object> param);
	  public int getTotalActiveCount(Map<String,Object> param);
	  public List<CreditCard>  recommendList(Map<String,Object> param);
	  
	  public int getSafeTotalCount(Map<String,Object> param);
	  public int getSafeTotalActiveCount(Map<String,Object> param);
	  public List<CreditCard>  safeRecommendList(Map<String,Object> param);
	  
	  
}
